<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title></title>
    <link rel="stylesheet" href="${base}/static/css/admin.css"/>

    <script type="text/javascript" src="${base}/admin/script/variable"></script>
    <#--
    <script type="text/javascript" src="http://libs.baidu.com/jquery/2.0.3/jquery.min.js"></script>
    <link rel="stylesheet" href="http://libs.baidu.com/jqueryui/1.10.2/themes/smoothness/jquery-ui.css"/>
    <script type="text/javascript" src="http://libs.baidu.com/jqueryui/1.10.2/jquery-ui.min.js"></script>
    -->
    <script type="text/javascript" src="${base}/static/js/jquery.js"></script>
    <link rel="stylesheet" href="${base}/static/js/jquery-ui/themes/base/jquery.ui.all.css" />
    <script type="text/javascript" src="${base}/static/js/jquery-ui/jquery-ui-1.10.4.min.js"></script>

    <script type="text/javascript" src="${base}/static/js/jquery-validation/jquery.validate.min.js"></script>
    <script type="text/javascript" src="${base}/static/js/jquery-validation/localization/messages_zh.min.js"></script>

    <script type="text/javascript" src="${base}/static/js/ajax.js"></script>
    <script type="text/javascript" src="${base}/static/js/admin/admin.js"></script>
</head>
<body>
<input id="__parentItemId_" type="hidden" value="${_parent_item!""}"/>
<input id="__treeItemId_" type="hidden" value="${_item!""}"/>
<script type="text/javascript">
    $(document).ready(function () {
        if ($('#__treeItemId_') && $('#__treeItemId_').val()) {
            var item = $('#__treeItemId_').val();
            $('ul.tabs li', window.parent.document).each(function () {
                $(this).attr('class', 'tabs-inner');
                if ($(this).attr('data-id') == item) {
                    $(this).attr('class', 'tabs-selected');
                }
            });
        }
    });
</script>